package org.discala.samples.complex.mealmaker

import org.discala.scopes.Singleton
import org.discala.samples.complex.chef.Chef
import org.discala.samples.complex.recipegenerator.RecipeGenerator

/**
 * @author Chris Turner
 */
trait MealMakerModule extends MealMakerComponent {

  this: Singleton with AnyRef { val recipeGenerator: () => RecipeGenerator
                                val chef: () => Chef } =>

  // Providers
  val maker = singleton(() => new DefaultMealMaker)
} 